package C10_12_ReplaceConstructorWithFactoryMethod.example1.before_refactor;

/**
 * 根据整数（实际是类型码）创建对象
 */
public class Employee {
    private int _type;
    static final int ENGINEER = 0;
    static final int SALESMAN = 1;
    static final int MANAGER = 2;
    Employee(int type) {
        _type = type;
    }

}
